package com.colorful.insuranceproject.bean;

/**
 * Created by handsome-Bob on 2017/7/6.
 * <p>
 * 版本更新的Bean
 */
public class VersionBean {

    private String url;// 下载地址 status 状态

    private int status;//0：版本最新 不用更新  1强制升级 2 提示升级

    private String xmlUrl;


    public VersionBean() {
    }

    public VersionBean(String url, int status, String xmlUrl) {
        this.url = url;
        this.status = status;
        this.xmlUrl = xmlUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getXmlUrl() {
        return xmlUrl;
    }

    public void setXmlUrl(String xmlUrl) {
        this.xmlUrl = xmlUrl;
    }

    @Override
    public String toString() {
        return "VersionBean{" +
                "url='" + url + '\'' +
                ", status=" + status +
                ", xmlUrl='" + xmlUrl + '\'' +
                '}';
    }
}
